package com.example.conusmer

import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.context.annotation.EnableAspectJAutoProxy
import org.slf4j.LoggerFactory

@SpringBootApplication
@EnableAspectJAutoProxy(proxyTargetClass = true)
class ConsumerApplication


fun main(args: Array<String>) {
    runApplication<ConsumerApplication>(*args)
    val logger = LoggerFactory.getLogger(ConsumerApplication::class.java)
    logger.info("Application started")
}
